<?php
session_start();
if(!$_SESSION["trv3_07"]){
	header("location:../login.php");
	exit;
}
require "../resources/v1.php";
if( !get_magic_quotes_gpc()){
	$Infractor = addslashes( trim( $_GET['HD10']));
}else{
	$Infractor = trim( $_GET['HD10']);
}
if( $Infractor){
	$conexion = server_reconnect();
	$query = "select count(*) `cant` from `exp` where `inf`=".$Infractor." and `est`=7 and datediff(now(),`fech`) < 1226";
	$result = mysql_query( $query, $conexion);
	$mxcel = @mysql_fetch_array($result);
	
	//		controlar rebeldias en contravencion
	
	if( $mxcel['cant'] > 0){
		echo "document.getElementById('LSelloRebelde').style.display='block';";
	}
	server_disconnect( $conexion);
}
?>